<template>
	<view class="container" >
		<view class="status_bar">
			<view style="margin-left: 4%;" @tap="goBack()"><u-icon name="arrow-leftward" size='24' /></view>
			<view style="margin-left: -50upx; font-weight: bold;">商城</view>
			<view></view>
		</view>
		<!-- <view class="shop-box">
			<view style="padding: 20upx 0;"><span class="icon-title">|</span>我的卡券</view>
			<view>
				<image src="../../../static/image/icon22@3x.png" mode=""></image>
				<view class="name-box">群扩容券</view>
			</view>
		</view> -->
		<view class="shop-box" @tap="toPage('/pages/mine/vipOpen/vipOpen')">
			<view style="padding: 20upx 0;"><span class="icon-title">|</span>会员专区</view>
			<view>
				<image src="../../../static/image/icon23@3x.png" mode="" class="img-box"></image>
				<view class="name-box">开通会员</view>
			</view>
		</view>
		

	</view>
</template>

<script>
	export default {
		data() {
			return {
				userId: uni.getStorageSync('userId') || '',
				startX: 0, // 触摸开始的X坐标
				endX: 0, // 触摸结束的X坐标
				threshold: 50, // 设置滑动多少距离后触发返回
			}
		},
		onLoad() {
			// this.getDetail()
		},
		methods: {
			goBack() {
				uni.navigateBack({
					delta: 1
				});
			},
			
			
		}
	}
</script>

<style lang="scss" scoped>
	.container {
		width: 100%;
		height: 100%;
	}

	.status_bar {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 50upx;
	}

	.status_bar,
	.head {
		background-color: #fff;
		height: 160upx;

		.face {
			width: 160upx;
			height: 160upx;
			border-radius: 10upx;
		}

		.info-name {
			font-size: 40upx;
			font-weight: bold;
		}

		.info-num {
			// width: 56upx;
			padding: 2upx 30upx;
			background: #f0f4f7;
			border-radius: 30upx;
			margin-top: 21upx;
		}

		.copybtns {
			color: #4457a4;
			margin-top: 21upx;
		}
	}

	.shop-box {
		width: 92%;
		margin-left: 4%;
		background-color: #fff;
		margin-top: 20upx;
		border-radius: 20upx;
		padding: 10upx 30upx;
		box-shadow: 0 0 40upx #d6e7f1; // 左
		box-shadow: 0 0 40upx #d6e7f1; // 右
		color: #2e2e2e;
		padding-bottom: 30upx;

		image {
			width: 70upx;
			height: 70upx;
			padding: 10upx 28upx 0upx 10upx;

		}

		.img-box {
			transform: scale(1.4);
			margin-left: 14upx;
			margin-bottom: 10upx;
		}


		.icon-title {
			color: #d54827;
			font-weight: bold;
			margin-right: 20upx;
		}

		.name-box {
			font-size: 28upx;
			color: #5e5e5e;
			font-weight: 300;
			padding: 10upx 0;
		}
	}
</style>